//
//  RNOLBuyClaimViewController.m
//  RongNiuOnline
//
//  Created by apple on 2018/5/3.
//  Copyright © 2018年 rongniu. All rights reserved.
//

#import "RNOLBuyClaimViewController.h"
#import "RNOLConfirmBuyClaimFormView.h"

@interface RNOLBuyClaimViewController ()

@end

@implementation RNOLBuyClaimViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = kBgColor;
    [self setupNavBarTitleViewWithText:@"立即购买"];
    [self setup];
    
}

- (void)setup{
    UIScrollView *scrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, 0, KWIDTH , KHIGHT-kNavBarHeight)];
    adjustsScrollViewInsets_NO(scrollView, self);
    scrollView.showsVerticalScrollIndicator = NO;
    [self.view addSubview: scrollView];
    
    RNOLConfirmBuyClaimFormView *formView = [RNOLConfirmBuyClaimFormView FromXIB];
    [scrollView addSubview: formView];
    scrollView.contentSize = CGSizeMake(KWIDTH, CGRectGetMaxY(formView.frame));
    
}

@end
